package com.kaishengit.action;

import java.util.List;

import com.kaishengit.pojo.Deal;
import com.kaishengit.pojo.User;
import com.kaishengit.service.DealService;

public class DealAction {

	private DealService dealService;
	private List<Deal> deal;
	
	
	public String execute(){
		
		deal = dealService.findAll();
		
		return "success";
	}
	public String add(){
		return "success";
	}
	

	//get set
	public DealService getDealService() {
		return dealService;
	}

	public void setDealService(DealService dealService) {
		this.dealService = dealService;
	}

	public List<Deal> getDeal() {
		return deal;
	}

	public void setDeal(List<Deal> deal) {
		this.deal = deal;
	}
	
	


	
	
	
}
